package com.design.StateMode.fsmDemo;

/**
 * 审批事件状态扭转枚举
 */
public enum EventEnum {

    APPROVE("approve", "待审核"),
    PASS("pass", "通过"),
    REFUSE("refuse", "拒绝"),
    CANCEL("cancel", "取消");

    private String code;

    private String desc;

    EventEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
